mex -lopencv_core -lopencv_imgproc -L/usr/include/ -I/usr/include/ mexResize.cpp MxArray.cpp